<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>条码打印</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/bootstrap-3.3.4.css">
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
<link rel="stylesheet" href="${ctxPath}/static/modular/standard/standard/jsBarCode/css/style.css">

<script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/jQueryPrint/js/jquery-1.9.1.min.js"></script>

<script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/jQueryPrint/js/jQuery.print.js"></script>

<script src="http://www.jq22.com/jquery/vue.min.js"></script>

<script src='${ctxPath}/static/modular/standard/standard/jsBarCode/js/JsBarcode.all.min.js'></script>
    <script type="text/javascript" src="${ctxPath}/static/modular/standard/standard/standard.js"></script>

</head>
<body>
    <!--<form action="/standard/jsBarCode" method="post">-->

        <input id="id" name="" value="${item.id}" type="hidden"/>

        <div class="container" id="app">
          <div class="form-group">
                  <table class = "tableclass1">
                      <tr>
                          <td class="inputClassText">名称:</td>
                          <td class="inputClass"><input id="standardName" name="standardName" value="${item.standardName}" class="inputClass" readonly="readonly"/></td>
                      </tr>
                      <tr>
                          <td class="inputClassText">批号:</td>
                          <td class="inputClass"><input id="standardId" name="standardId" value="${item.standardId}" class="inputClass" readonly="readonly"/></td>
                      </tr>
                      <tr>
                          <td class="inputClassText">标号:</td>
                          <td class="inputClass"><input id="standardLabel" name="standardLabel" value="${item.standardLabel}" class="inputClass" readonly="readonly"/></td>
                      </tr>
                      <tr>
                          <td><svg id="barcode1"></svg></td>
                      </tr>
                      <tr>
                          <td>
                              <input class = "sureclass" type="submit" value="打印" icon="fa-check" clickFun="Standard.jsBarCode()"/>
                          </td>
                      </tr>
              </table>
            </div>
           <!-- 条码显示-->
          <script>
              JsBarcode("#barcode1", "${item.standardCode}");
          </script>
            <!--条码打印，变成pdf-->
           <!-- <script>
                $("#myElementId").print(/*options*/);
            </script>-->
        </div>
    <!--</form>-->

</body>

</html>
